package com.gc.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gc.business.domain.InventoryPrice;
import com.gc.business.domain.InventorySize;
import com.gc.business.domain.InventorySizePrice;

import java.util.List;

/**
 * 库存规格中间 服务层
 * 
 * @author hruiyan
 * @date 2020-11-10
 */
public interface IInventoryPriceService extends IService<InventoryPrice> {
    /**
    * 列表查询
    */
    List<InventoryPrice> list(InventoryPrice inventoryPrice);
    /**
     * 根据库存查询列表
     */
    List<InventoryPrice> getByInventoryId(Long inventoryId);

    void addSave(InventoryPrice inventoryPrice, InventorySize inventorySize, InventorySizePrice inventorySizePrice);

    void removeAndSub(Long[] longIds);
}
